package two;

public class ExerciseSystem {
    public static void main(String[] args) {
        // 生成50道加法题
        ExerciseV2 addExercises = new ExerciseV2(50, "add");
        System.out.println("【加法习题】");
        addExercises.printFormatted();

        // 生成50道减法题
        ExerciseV2 subExercises = new ExerciseV2(50, "subtract");
        System.out.println("\n【减法习题】");
        subExercises.printFormatted();

        // 生成50道混合题（加减）
        ExerciseV2 mixExercises = new ExerciseV2(50, "mix");
        System.out.println("\n【混合习题】");
        mixExercises.printFormatted();
    }
}
